//
//  GYNoAddressView.m
//  GoodLuck
//
//  Created by 郭为勇 on 2018/3/3.
//  Copyright © 2018年 yunjiazhineng. All rights reserved.
//

#import "GYNoAddressView.h"

@interface GYNoAddressView ()

@property (weak, nonatomic) IBOutlet UILabel *bgLable;

@property (weak, nonatomic) IBOutlet UIButton *addNewAddress;

@end

@implementation GYNoAddressView

- (void)awakeFromNib {
    [super awakeFromNib];
    
    //初始化一些属性
    self.bgLable.layer.cornerRadius = 40;
    self.bgLable.layer.masksToBounds = YES;
    
    self.addNewAddress.layer.borderColor = RGBColor(204, 204, 204).CGColor;
    self.addNewAddress.layer.borderWidth = 1;
    self.addNewAddress.layer.cornerRadius = 4;
}

//增加新地址的按钮
- (IBAction)addNewAddressBtuClick {
    self.addNewAddressCallBack();
}

@end
